<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>瓜棚网主页</title>
</head>
<body>
	<ul>
		#foreach( $directory in $directorys)
		<li style="margin: 10px;">
			<a href="javascript:forward('$!directory')">$!directory</a>
		</li>
		#end
	</ul>
</body>
</html>
<script type="text/javascript">
	function forward(directory) {
		document.location = "/upload/" + directory + ".jsp";
	}
</script>